<form action="<?php echo $action; ?>" method="post" id="payment">
  <div class="buttons">
    <div class="right"><a onclick="$('#payment').submit();" id="payment" class="button"><span><?php echo $button_confirm; ?></span></a></div>
  </div>
</form>
<script type="text/javascript"><!--
$('#payment').click(function() {
	$.ajax({ 
		type: 'GET',
		url: 'index.php?route=payment/nganluong/confirm',
		beforeSend: function() {
			$('#loading').remove();
			$('#load_img').after('&nbsp;<img id="loading" src="catalog/view/theme/default/image/loading6.gif" alt="" /><br><span style="color:#666; font-size:10px;">please wait</span>');
		},
		success: function() {
			$('#payment').submit();
		}	
	});
});
//--></script>